{% extends "base.html" %}

{% block content %}
<h1>控制面板</h1>
<div class="row">
    <div class="col-md-4">
        <div class="card">
            <div class="card-body">
                <h5 class="card-title">个人信息</h5>
                <p class="card-text">用户名：{{ current_user.username }}</p>
                <p class="card-text">邮箱：{{ current_user.email }}</p>
                <p class="card-text">注册时间：{{ current_user.created_at.strftime('%Y-%m-%d') }}</p>
                <hr>
                <a href="{{ url_for('main.submit_thesis') }}" class="btn btn-primary">提交论文信息</a>
                <a href="{{ url_for('main.my_theses') }}" class="btn btn-secondary">我的论文</a>
            </div>
        </div>
    </div>
</div>
{% endblock %} 